package runtime;

import util.Scope;

public class RootScopeFactory {
	private static RootScopeFactory instance;
	private Scope rootScope;
	
	private RootScopeFactory() {
		this.rootScope = new Scope(null);
	}
	
	public static RootScopeFactory getInstance() {
		if(instance==null) {
			instance=new RootScopeFactory();
		}
		return instance;
	}
	
	public Scope getRootScope() {
		return this.rootScope;
	}
}
